﻿
namespace IDAL
{
    public interface IBasedal<T>
    {
        Task<int> add(T entity);
        Task<int> adds(List<T> entity);


        Task<int> dele(T entity);
        Task<int> deles(List<T> entity);



        Task<int> update(T entity);
        Task<int> updates(List<T> entity);



        IQueryable<T> xs();

    }
}
